package com.lz.demo10;

/**
 * @ClassName Insect
 * @Description 昆虫类
 * @Author 2214361854
 * @Date 2022/5/28 15:19
 * @Version 1.0
 */
public abstract class Insect {
    int legNumbers = 6;
    int eggNumber;

    /**
     * 昆虫类中产卵的功能
     */
    public abstract void spawn();
}
